<template>
	<div class="header-channel">
		<div class="channer-left">
			<div class="channer">
				<span class="channer-icon iconfont icon-dongtai"></span>
				<span>动态</span>
			</div>
			<div class="channer">
				<span class="channer-icon iconfont icon-remen"></span>
				<span>热门</span>
			</div>
			<div class="channer">
				<span class="channer-icon iconfont icon-pindao"></span>
				<span>频道</span>
			</div>
		</div>
		<div class="channer-right">
			<ul class="channer-center">
				<li>番剧</li>
				<li>国创</li>
				<li>综艺</li>
				<li>动画</li>
				<li>鬼畜</li>
				<li>舞蹈</li>
				<li>娱乐</li>
				<li>科技</li>
				<li>美食</li>
				<li>番剧</li>
				<li>国创</li>
				<li>综艺</li>
				<li>动画</li>
				<li>鬼畜</li>
				<li>舞蹈</li>
				<li>娱乐</li>
				<li>科技</li>
				<li>美食</li>
			</ul>
			<ul class="channer-zhuan">
				<li>
					<span class="iconfont icon-columnszhuanlan"></span>
					<span>专栏</span>
				</li>
				<li>
					<span class="iconfont icon-icon"></span>
					<span>课堂</span>
				</li>
				<li>
					<span class="iconfont icon-hongqi"></span>
					<span>活动</span>
				</li>

				<li>
					<span class="iconfont icon-15"></span>
					<span>直播</span>
				</li>
				<li>
					<span class="iconfont icon-duihuaxinxitianchong"></span>
					<span>社区中心</span>
				</li>

				<li>
					<span class="iconfont icon-yinleyule channer-icon"></span>
					<span>新歌热榜</span>
				</li>
			</ul>
		</div>
	</div>
</template>

<script>
export default {
	name: "HomeCategory",
};
</script>

<style lang="less" scoped>
.header-channel {
	height: 100px;
	display: flex;
	align-items: center;
	padding: 0 56px;
	position: relative;
	box-sizing: border-box;
	.channer-left {
		display: flex;
		margin-right: 4px;
		z-index: 0;
		display: flex;
		align-items: center;
		.channer {
			display: flex;
			margin-right: 16px;
			position: relative;
			align-items: center;
			flex-direction: column;
			color: black;
			font-size: 13px;
			.channer-icon {
				width: 40px;
				height: 40px;
				display: flex;
				align-items: center;
				justify-content: center;
				margin-bottom: 6px;
				border-radius: 50%;
				color: white;
				font-size: 25px;
			}
			.icon-dongtai {
				background-color: #ff9212;
			}
			.icon-remen {
				background-color: #f07775;
			}
			.icon-pindao {
				background-color: #59ca73;
			}
		}
	}
	.channer-right {
		display: flex;
		height: 100px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		.channer-center {
			padding: 0;
			margin: 0;
			padding-right: 20px;
			list-style: none;
			display: grid;
			// align-items: center;
			// width: 728px;
			// flex-shrink: 0;
			// flex-wrap: wrap;
			grid-auto-flow: column;
			grid-column: span 4;
			grid-gap: 10px;
			grid-template-rows: repeat(2, 1fr);
			border-right: 1px solid #f6f7f8;
			height: 66px;
			li {
				background-color: #f6f7f8;
				border: 1px solid #f6f7f8;
				border-radius: 6px;
				color: #61666d;
				text-align: center;
				font-weight: 400;
				font-size: 13px;
				height: 26px;
				line-height: 26px;
				width: 72px;
			}
		}
		.channer-zhuan {
			padding: 0;
			margin: 0;
			list-style: none;
			width: 230px;
			grid-column: span 1;
			grid-row-gap: 10px;
			grid-auto-flow: column;
			display: grid;
			grid-template-rows: repeat(2, 1fr);
			li {
				display: flex;
				align-items: center;
				justify-content: flex-end;
				width: 100%;
				color: #747679;
				text-align: center;
				font-weight: 400;
				transition: background-color 0.3s, color 0.3s;
				font-size: 13px;
				.iconfont {
					margin-right: 4px;
				}
			}
		}
	}
}
</style>
